﻿using Fetches.Fetch.Dto;
using HtmlUtil = Fetches.Fetch.Utils.HtmlUtil;

namespace Fetches.Process.Pipelines
{
    public class CleanHtmlPipeline:AbstractPipeline
    {
        protected override void OnProcess(string site, ResultItems result)
        {
            result.Content = HtmlUtil.TextNoHTML(result.Content);
        }
    }
}
